Standard Device Model
Device Basic Ability Control
| Control Type | Ability Description | light | switch | button | cover | climate | lock | sensor | binary_sensor |
|---|---|---|---|---|---|---|---|---|---|
| turn_on | Turn on | √ | √ | √ | |||||
| turn_off | Turn off | √ | √ | √ | |||||
| toggle | Toggle | √ | √ | ||||||
| press | Press | √ | |||||||
| lock | Lock | √ | |||||||
| unlock | Unlock | √ | |||||||
| open | Open | √ | |||||||
| close | Close | √ | |||||||
| stop | Stop | √ |
Device Basic State
| State Type | State Description | light | switch | button | cover | climate | lock | sensor | binary_sensor |
|---|---|---|---|---|---|---|---|---|---|
| on | On | √ | √ | √ | √ | ||||
| off | Off | √ | √ | √ | √ | ||||
| press | Press | √ | |||||||
| release | Release | √ | |||||||
| open | Open | √ | |||||||
| opening | Opening | √ | |||||||
| closed | Close | √ | |||||||
| closing | Closing | √ | |||||||
| locked | Locked | √ | |||||||
| unlocked | Unlocked | √ | |||||||
| {value} | Value | √ |
Device Additional Attribute Information
| Additional Attribute Parameter | Type | Additional Attribute Description | Additional Attribute Control | Additional Attribute State | Match-able Device Type |
|---|---|---|---|---|---|
| type | String | Sensor type: infrared smoke gas flood motion tamper door co safety | √ | binary_sensor | |
| type | String | Sensor type: battery temperature humidity brightness energy power | √ | sensor | |
| brightness | Integer | Brightness, scope: 0-255 | √ | √ | light |
| brightness_percent | Integer | Brightness percentage, scope: 0-100 | √ | √ | light |
| brightness_level | String | Brightness level: low: low brightness level medium: medium brightness level high: high brightness level | √ | √ | light |
| min_mireds | Integer | Minimum color temperature, scope: 153-500 | √ | light | |
| max_mireds | Integer | Maximum color temperature, scope: 153-500 | √ | light | |
| color_temperature | Integer | Color temperature, scope from min_mireds to max_mireds | √ | √ | light |
| hs_color | []Integer | Color gamut based on HSV. Parameter format: [h, s] h: 0-360 s: 0-100 | √ | √ | light |
| white_value | Integer | White value, scope: 0-100 | √ | √ | light |
| preset_mode | String | Preset mode: home away sleep standby comfort eco protect auto energy_saving performance | √ | climate | |
| support_preset_mode | []String | Supported preset mode: home away sleep standby comfort eco protect auto energy_saving performance | √ | climate | |
| preset_temperature | Float | Preset temperature, scope: 5.0-35.0 | √ | √ | climate |
| hvac_mode | String | Air conditioning mode: unknown off heat cool auto floor_heat fan_only dry manual program auxiliary_heat heat_and_auxiliary_heat holiday temp_manual | √ | climate | |
| support_hvac_mode | []String | Supported air conditioning mode: unknown off heat cool auto floor_heat fan_only dry manual program auxiliary_heat heat_and_auxiliary_heat holiday temp_manual | √ | climate | |
| fan_mode | String | Fan mode: unknown off auto very_low low medium high top auto_medium | √ | climate | |
| support_fan_mode | []String | Supported fan mode: unknown off auto very_low low medium high top auto_medium | √ | climate | |
| position_percent | Integer | Position percent, scope: 0-100 | √ | √ | cover |
| tilt_angle_percent | Integer | Tilt angle percent, scope: 0-100 | √ | √ | cover |
| support_status | Boolean | Supported in-progress state: true: support opening and closing state false: not support opening and closing state | √ | cover | |
| doorbell | String | Doorbell: on off | √ | lock |